const App = getApp()

Page({
	data: {
		userInfo: App.userInfo,
		items: [
		]
	},
	onLoad() {
		if(this.userInfo!=null)
			return true;
		var thisPage = this;
		wx.getUserInfo({
			success: function(res) {
				thisPage.setData({
					userInfo : res.userInfo
				});
			}
		})
	},

	onShow() {

	}
	
});